﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserControl/UI/MainSite.Master" AutoEventWireup="true" CodeBehind="SystemMsge.aspx.cs" Inherits="UI.Module.User.SystemMsge" %>
<%@ Register Src="../../UserControl/UI/Pager.ascx" TagName="Pager" TagPrefix="mereg" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <style>
        .pagination {height: auto; overflow: hidden; margin: 0 auto;}
        .pagination ul {height: auto; overflow: hidden;}
        .pagination ul li{float: left; height: 30px; line-height: 30px; text-align: center; margin: 0 10px 0 0;}
        .tdaligncenter { text-align:center;}
        .tdalignright {text-align:right;}
    </style>
    <form id="form1" runat="server">
        <h2 class="mbx">基础信息 &gt; 活动中心 &nbsp;&nbsp;&nbsp;</h2>
        <div class="morebt"></div>
        <div class="cztable">
            <asp:GridView ID="grdlist" Width="100%" runat="server" CssClass="table table-bordered table-striped with-check" EnableViewState="false" EmptyDataText="未找到相关数据" EmptyDataRowStyle-HorizontalAlign="Center" OnRowDataBound="grdlist_RowDataBound" AutoGenerateColumns="false">
                <Columns>
                    <asp:BoundField HeaderText="序号" ItemStyle-Width="30" />
                    <asp:BoundField HeaderText="门店名称" DataField="shopName" />
                    <asp:BoundField HeaderText="活动及促销情况标题" DataField="Title" />
                    <asp:BoundField HeaderText="创建时间" ItemStyle-CssClass="tdaligncenter" DataField="CreateTime" />
                    <%--<asp:BoundField HeaderText="证件号" ItemStyle-CssClass="tdalignright" DataField="CreateTime" />--%>
                    <asp:TemplateField HeaderText="操作" ItemStyle-Width="100" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <a href="DetailMsge.aspx?ID=<%#Eval("ID") %>">查看详细</a>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <mereg:Pager runat="server" ID="Pager" OnBindData="Pager_BindData" />
        </div>
    </form>
</asp:Content>